<template>
	<view>
		<view class="qiuzhu"
		 :style="{
			 backgroundImage:img?$img(img):$img('http://puputong.huijipin.cn/uploads/20220321/575bd2b2f76fe590290987ad2c5c990d.png')
		 }"
		 v-for="(item,index) in 5">
			<view class="qiuzhu_1">
				租
			</view>
			<view class="qiuzhu_2">
				<text class="qiuzhu_2_1">郑州市二七火车站附近</text>
				<view class="qiuzhu_2_2">
					<text>店铺类型:美甲店</text> <text> 面积:30-50㎡</text>
				</view>
				<text class="qiuzhu_2_3">发布时间：2021.11.21</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:['img'],
		name:"qiu-zhu",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.qiuzhu {
			width: 92%;
			padding: 30rpx 30rpx;
			box-sizing: border-box;
			border-radius: 16rpx;
			margin: 0 auto 20rpx;
			height: 186rpx;
			background-size: 100%;
			background-repeat: no-repeat;
			// background-image: url();
			display: flex;
			justify-content: space-between;

			.qiuzhu_1 {
				width: 46rpx;
				height: 46rpx;
				background: #FFFFFF;
				border: 2rpx solid #FF1B1B;
				text-align: center;
				border-radius: 50%;
				font-size: 24rpx;
				font-family: OPPOSans;
				font-weight: 500;
				color: #FF1B1B;
				line-height: 46rpx;
			}

			.qiuzhu_2 {
				width: 90%;

				.qiuzhu_2_1 {
					font-size: 30rpx;
					font-family: OPPOSans;
					font-weight: bold;
					color: #181818;
				}

				.qiuzhu_2_2 {
					margin: 15rpx 0 15rpx 0;
					display: flex;
					justify-content: space-between;
					width: 70%;

					text {
						display: inline-block;
					}

					text {
						font-size: 24rpx;
						font-family: OPPOSans;
						font-weight: 500;
						color: #666666;
					}
				}

				.qiuzhu_2_3 {
					font-size: 20rpx;
					font-family: OPPOSans;
					font-weight: 500;
					color: #999999;
				}

				text {
					display: block;
				}

			}
		}
</style>
